package com.idanchuang.component.businesslog.es.config;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * @author jiang
 * @date 2019-11-25 11:40
 */
public class ElasticsearchProperties {

//    private List<String> uris = new ArrayList<>(Collections.singletonList("http://121.41.73.102:9200"));
    private List<String> uris = new ArrayList<>(Collections.singletonList("http://127.0.0.1:9200"));
    private String username/*="elastic"*/;
    private String password/*="el123456"*/;

    public ElasticsearchProperties() {
    }

    public List<String> getUris() {
        return this.uris;
    }

    public void setUris(List<String> uris) {
        this.uris = uris;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}

